package cn.wuweixiang.springbootdemo.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

/**
 * DemoListener
 *
 * @author weixiang.wu
 * @date 2018-08-22 20:49
 **/
@WebListener
public class DemoListener implements ServletContextListener {
	@Override
	public void contextInitialized(ServletContextEvent sce) {
		System.err.println("DemoListener.contextInitialized");
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {
		System.err.println("DemoListener.contextDestroyed");
	}
}
